import { USERINFO, UserInfoData } from '../constants/userInfo'

const addUserInfo = (data: UserInfoData) => {
  return {
    type: USERINFO,
    payload: data
  }
}

export default addUserInfo
